/**
 * 接口 URL 数据集
 * 集中管理，方便统一维护。建议采用一级数据结构 (urls.membersIndex)，不要使用二级数据结构 (urls.members.index)。
 * URL规范尽量采用 Resetful 资源路由格式（包括 index, read, save, update, delete）。
 */
class ApiUrls {
    // 登录模块
    login = '/api/admin/login'
    forgetPassword = '/api/admin/forget-password'

    // 管理员管理
    authAdminsIndex = '/api/admin/auth-admins/index'
    authAdminsRead = '/api/admin/auth-admins/read'
    authAdminsSave = '/api/admin/auth-admins/save'
    authAdminsUpdate = '/api/admin/auth-admins/update'
    authAdminsDelete = '/api/admin/auth-admins/delete'

    // 权限分组管理
    authGroupsIndex = '/api/admin/auth-groups/index'
    authGroupsRead = '/api/admin/auth-groups/read'
    authGroupsSave = '/api/admin/auth-groups/save'
    authGroupsUpdate = '/api/admin/auth-groups/update'
    authGroupsDelete = '/api/admin/auth-groups/delete'

    // 权限规则管理
    authRulesIndex = '/api/admin/auth-rules/index'
    authRulesRead = '/api/admin/auth-rules/read'
    authRulesSave = '/api/admin/auth-rules/save'
    authRulesUpdate = '/api/admin/auth-rules/update'
    authRulesDelete = '/api/admin/auth-rules/delete'

    // 系统配置管理
    sysConfigsIndex = '/api/admin/sys-configs/index'
    sysConfigsRead = '/api/admin/sys-configs/read'
    sysConfigsSave = '/api/admin/sys-configs/save'
    sysConfigsUpdate = '/api/admin/sys-configs/update'
    sysConfigsDelete = '/api/admin/sys-configs/delete'

    // 系统通知管理
    sysNoticesIndex = '/api/admin/sys-notices/index'
    sysNoticesRead = '/api/admin/sys-notices/read'
    sysNoticesSave = '/api/admin/sys-notices/save'
    sysNoticesUpdate = '/api/admin/sys-notices/update'
    sysNoticesDelete = '/api/admin/sys-notices/delete'
}

var apiUrls = new ApiUrls();